package com.hptpd.questionnairesurvey.service;

import com.hptpd.questionnairesurvey.component.Result;
import com.hptpd.questionnairesurvey.service.base.IBaseService;
import com.hptpd.questionnairesurvey.vo.UserVo;

import java.util.Map;

/**
 * \* Created with IntelliJ IDEA.
 * \* Date: 2019-07-16 09:15
 * \*
 * \* Description:
 * \
 *
 * @author waiterlong
 */
public interface IUserService extends IBaseService {
    /**
     * 获取用户机构树
      * @param paramMap Map<String, Object>
     * @return Result
     */
    Result getUserTree(Map<String, Object> paramMap);

    /**
     * 微信小程序用户登录
     * @param userVo UserVo
     * @return Result
     */
    Result wxLogin(UserVo userVo);

    /**
     * 微信小程序用户注册
     * @param userVo UserVo
     * @return Result
     */
    Result wxRegister(UserVo userVo);

    /**
     * 发送手机号验证码
     * @param phone String
     * @return Result
     */
    Result sendMsgValidateCode(String phone);
}
